#coding=utf-8
"""
handler的init模块
"""
from tornado.web import RequestHandler
from .login import LoginHandler
from .dashboard import DashboardHandler

class HomeHandler(RequestHandler):
    """
    主页
    """
    def get(self):
        # 渲染指定页面
        # 打印request相关信息
        self.render("index.html")

#class LogoutHandler(RequestHandler):
#    """
#    登出
#    """
#    def get(self):
#        # 清除cookie
#        self.clear_cookie('user')
#        # 渲染指定url
#        #self.redirect('/#/login')
